package Model

import "github.com/jackc/pgtype"

type Test struct {
	Id int `json:"id"`
}

type BaseInformation struct {
	Id                   string      `json:"id"`                   //员工编号
	Name                 string      `json:"name"`                 //姓名
}

/*员工表*/
type Employee struct {
	Id                   string      `json:"id" form:"id"`                   //员工编号
	EmployeeType        string      `json:"employee_type" form:"employee_type"`        //员工类型
	Name                 string      `json:"name" form:"name"`                 //姓名
	Sex                  string      `json:"sex" form:"sex"`                  //性别
	Birthday             pgtype.Date `json:"birthday" form:"birthday"`             //出生日期
	IdCard              string      `json:"id_card" form:"id_card"`              //身份证号
	Political            string      `json:"political" form:"political"`            //政治面貌
	Nation               string      `json:"nation" form:"nation"`               //民族
	NativePlace         string      `json:"native_place" form:"native_place"`         //籍贯
	Phone                string      `json:"phone" form:"phone"`                //电话
	Email                string      `json:"email" form:"email"`                //电子邮箱
	Height               int         `json:"height" form:"height"`               //身高
	BloodType           string      `json:"blood_type" form:"blood_type"`           //血型
	MaritalStatus       string      `json:"marital_status" form:"marital_status"`       //婚姻状况
	Birthplace           string      `json:"birthplace" form:"birthplace"`           //出生地
	RegisteredResidence string      `json:"registered_residence" form:"registered_residence"` //户口所在地
	DepartmentNumber    int         `json:"department_number" form:"department_number"`    //部门编号
	PostNumber          int         `json:"post_number" form:"post_number"`          //岗位编号
	EntryDate           pgtype.Date `json:"entry_date" form:"entry_date"`           //入职日期
	EmploymentForm      string      `json:"employment_form" form:"employment_form"`      //用工形式
	PersonnelSource     string      `json:"personnel_source" form:"personnel_source"`     //人员来源
	HighestEducation    string      `json:"highest_education" form:"highest_education"`    //最高学历
	GraduationSchool    string      `json:"graduation_school" form:"graduation_school"`    //毕业院校
	MajorStudied        string      `json:"major_studied" form:"major_studied"`        //所学专业
	GraduationDate      pgtype.Date `json:"graduation_date" form:"graduation_date"`      //毕业日期
	ProbationStart pgtype.Date `json:"probation_start" form:"probation_start"`  // 试用期开始
	ProbationEnd pgtype.Date `json:"probation_end" form:"probation_end"`    // 试用期结束
	IsProbation string `json:"is_probation" form:"is_probation"`  // 是否试用期
	IsQuit              string      `json:"is_quit" form:"is_quit"`              //是否离职
}

